package com.cl.code.database.mybatis.module.sql.operator;

import lombok.Getter;

/**
 * 空值判断符
 *
 * @author chengliang
 * @since 1.0.0
 */
@Getter
public enum NullSqlExpression implements SqlExpression {
    IS_NULL(" #{column} IS NULL"),
    IS_NOT_NULL(" #{column} IS NOT NULL"),
    ;
    private final String expression;

    NullSqlExpression(String expression) {
        this.expression = expression;
    }

}
